1,049 research outputs found

    A machine vision extension for the Ruby programming language

    Get PDF
    Dynamically typed scripting languages have become popular in recent years. Although interpreted languages allow for substantial reduction of software development time, they are often rejected due to performance concerns. In this paper we present an extension for the programming language Ruby, called HornetsEye, which facilitates the development of real-time machine vision algorithms within Ruby. Apart from providing integration of crucial libraries for input and output, HornetsEye provides fast native implementations (compiled code) for a generic set of array operators. Different array operators were compared with equivalent implementations in C++. Not only was it possible to achieve comparable real-time performance, but also to exceed the efficiency of the C++ implementation in several cases. Implementations of several algorithms were given to demonstrate how the array operators can be used to create concise implementations.</p

    Do three-spined sticklebacks avoid consuming copepods, the first intermediate host of Schistocephalus solidus ? — an experimental analysis of behavioural resistance

    Get PDF
    Many parasites that use intermediate hosts are transmitted to the next host through predation. If the next host's fitness is strongly reduced by the parasite, it is under selection either to recognize and avoid infected intermediate hosts or to exclude that prey species from its diet when alternative prey are available. We investigated the predator-prey interaction between laboratory bred three-spined sticklebacks (Gasterosteus aculeatus), the second intermediate host of the cestode Schistocephalus solidus, from 2 parasitized and 1 unparasitized population, and different prey types: infected and uninfected copepods and size-matched Daphnia as alternative prey. Copepods with infective procercoids were more active, had a lower swimming ability and were easier to catch than uninfected controls. The sticklebacks preferred moving copepods. Therefore parasitized copepods were preferentially attacked and consumed. There was no effect of the sticklebacks' parent population being parasitized or not. The sticklebacks switched from Daphnia to (uninfected) copepods in the course of a hunting sequence; this switch occurred earlier in smaller fish. With this strategy the fish maximized their feeding rate: Daphnia were easier to catch than copepods but increasingly difficult to swallow when the stomach was filling up especially for smaller fish. However, there was no indication that sticklebacks from infected populations either consumed Daphnia rather than copepods or switched later in the hunting sequence to consuming copepods than fish from an uninfected population. Thus, sticklebacks did not avoid parasitized prey although S. solidus usually has a high prevalence and causes a strong fitness reduction in its stickleback hos

    Examining punishment at different explanatory levels.

    Get PDF
    Experimental studies on punishment have sometimes been over-interpreted not only for the reasons Guala lists, but also because of a frequent conflation of proximate and ultimate explanatory levels that Guala's review perpetuates. Moreover, for future analyses we may need a clearer classification of different kinds of punishment

    Reputation based on punishment rather than generosity allows for evolution of cooperation in sizable groups

    Get PDF
    Cooperation among unrelated individuals can arise if decisions to help others can be based on reputation. While working for dyadic interactions, reputation-use in social dilemmas involving many individuals (e.g. public goods games) becomes increasingly difficult as groups become larger and errors more frequent. Reputation is therefore believed to have played a minor role for the evolution of cooperation in collective action dilemmas such as those faced by early humans. Here, we show in computer simulations that a reputation system based on punitive actions can overcome these problems and, compared to reputation system based on generous actions, (i) is more likely to lead to the evolution of cooperation in sizable groups, (ii) more effectively sustains cooperation within larger groups, and (iii) is more robust to errors in reputation assessment. Punishment and punishment reputation could therefore have played crucial roles in the evolution of cooperation within larger groups of humans

    Genetic correlations and little genetic variance for reaction norms may limit potential for adaptation to pollution by ionic and nanoparticulate silver in a whitefish (Salmonidae).

    Get PDF
    For natural populations to adapt to anthropogenic threats, heritable variation must persist in tolerance traits. Silver nanoparticles, the most widely used engineered nanoparticles, are expected to increase in concentrations in freshwaters. Little is known about how these particles affect wild populations, and whether genetic variation persists in tolerance to permit rapid evolutionary responses. We sampled wild adult whitefish and crossed them in vitro full factorially. In total, 2896 singly raised embryos of 48 families were exposed to two concentrations (0.5 μg/L; 100 μg/L) of differently sized silver nanoparticles or ions (silver nitrate). These doses were not lethal; yet higher concentrations prompted embryos to hatch earlier and at a smaller size. The induced hatching did not vary with nanoparticle size and was stronger in the silver nitrate group. Additive genetic variation for hatching time was significant across all treatments, with no apparent environmental dependencies. No genetic variation was found for hatching plasticity. We found some treatment-dependent heritable variation for larval length and yolk volume, and one instance of additive genetic variation for the reaction norm on length at hatching. Our assessment suggests that the effects of silver exposure on additive genetic variation vary according to trait and silver source. While the long-term fitness consequences of low-level silver exposure on whitefish embryos must be further investigated to determine whether it is, in fact, detrimental, our results suggest that the evolutionary potential for adaptation to these types of pollutants may be low

    The air pressure effect on the homogeneous nucleation of carbon dioxide by molecular simulation

    Full text link
    Vapour-liquid equilibria (VLE) and the influence of an inert carrier gas on homogeneous vapour to liquid nucleation are investigated by molecular simulation for quaternary mixtures of carbon dioxide, nitrogen, oxygen, and argon. Canonical ensemble molecular dynamics simulation using the Yasuoka-Matsumoto method is applied to nucleation in supersaturated vapours that contain more carbon dioxide than in the saturated state at the dew line. Established molecular models are employed that are known to accurately reproduce the VLE of the pure fluids as well as their binary and ternary mixtures. On the basis of these models, also the quaternary VLE properties of the bulk fluid are determined with the Grand Equilibrium method. Simulation results for the carrier gas influence on the nucleation rate are compared with the classical nucleation theory (CNT) considering the "pressure effect" [Phys. Rev. Lett. 101: 125703 (2008)]. It is found that the presence of air as a carrier gas decreases the nucleation rate only slightly and, in particular, to a significantly lower extent than predicted by CNT. The nucleation rate of carbon dioxide is generally underestimated by CNT, leading to a deviation between one and two orders of magnitude for pure carbon dioxide in the vicinity of the spinodal line and up to three orders of magnitude in presence of air as a carrier gas. Furthermore, CNT predicts a temperature dependence of the nucleation rate in the spinodal limit, which cannot be confirmed by molecular simulation

    MHC-correlated preferences in diestrous female horses (Equus caballus).

    Get PDF
    Genes of the major histocompatibility complex (MHC) have been shown to influence communication in many vertebrates, possibly with context-specific MHC-correlated reactions. Here we test for MHC-linked female preferences in the polygynous horse (Equus caballus) by repeatedly exposing 19 mares to a group of seven sexually experienced stallions. Each mare was tested four times during two consecutive reproductive cycles, twice during estrus and twice during diestrus. Male plasma testosterone concentrations were determined from weekly blood samples, and equine leukocyte antigen (ELA) class I and II alleles were determined serologically at the end of the experiments. Perception of male attractiveness was strongly dependent on estrous cycle: mean preference scores did not correlate for mares in diestrus and estrus and varied more during estrus than during diestrus. We found elevated female interests for MHC-dissimilar stallions, but only during diestrus, not during estrus. Female preferences were not significantly predicted by mean male testosterone plasma concentrations. However, testosterone concentrations changed during the 11 weeks of the experiment. By the end of the experiment, average testosterone concentration was significantly correlated to the average number of MHC alleles the stallions shared with the mares. We conclude that the MHC affects female preferences for stallions, but non-MHC linked male characteristics can overshadow effects of the MHC during estrus

    Maternal allocation of carotenoids increases tolerance to bacterial infection in brown trout.

    Get PDF
    Life-history theory predicts that iteroparous females allocate their resources differently among different breeding seasons depending on their residual reproductive value. In iteroparous salmonids there is typically much variation in egg size, egg number, and in the compounds that females allocate to their clutch. These compounds include various carotenoids whose functions are not sufficiently understood yet. We sampled 37 female and 35 male brown trout from natural streams, collected their gametes for in vitro fertilizations, experimentally produced 185 families in 7 full-factorial breeding blocks, raised the developing embryos singly (n = 2960), and either sham-treated or infected them with Pseudomonas fluorescens. We used female redness (as a measure of carotenoids stored in the skin) and their allocation of carotenoids to clutches to infer maternal strategies. Astaxanthin contents largely determined egg colour. Neither egg weight nor female size was correlated with the content of this carotenoid. However, astaxanthin content was positively correlated with larval growth and with tolerance against P. fluorescens. There was a negative correlation between female skin redness and the carotenoid content of their eggs. Although higher astaxanthin contents in the eggs were associated with an improvement of early fitness-related traits, some females appeared not to maximally support their current offspring as revealed by the negative correlation between female red skin colouration and egg carotenoid content. This correlation was not explained by female size and supports the prediction of a maternal trade-off between current and future reproduction
    corecore